package com.veetao.api.service;

import java.util.List;
import java.util.Map;

import com.veetao.api.model.ApiCommand;

public interface CommandLookupService {

	/**
	 * 是否需要登录
	 * 
	 * @param methodvalue
	 * @return
	 */
	public boolean isNeedLogin(String methodValue, String version);

	/**
	 * 取所有的接口名称列表
	 * 
	 * @return
	 */
	public Map<String, List<String>> getCommands();

	/**
	 * @param methodName
	 * @param version
	 * @return
	 * @author guohongtao
	 */
	public boolean needCheckSignature(String methodName, String version);

	public ApiCommand lookupApiCommand(String methodName, String version);

}
